<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.box {
				overflow: auto;
				/* list-style: none; */
			}
			.item {
				/* 高度合适（小） 这很重要 */
				height: 23px;
				border: 1px solid red;
			}
			.content {
				overflow: hidden;
				display: inline-block;
				/* vertical-align: bottom; */
			}
			div.item {
				height: 18px;
			}
		</style>
	</head>
	<body>
		<ul class="box">
			<li class="item">
				<span class="content">111</span>
			</li>
			<li class="item">
				<span class="content">222</span>
			</li>
			<li class="item">
				<span class="content">333</span>
			</li>
			<li class="item">
				<span class="content">444</span>
			</li>
			<li class="item">
				<span class="content">555<span>
			</li>
		</ul>
		
		<div class="box">
			<div class="item">
				<span class="content">s111</span>
			</div>
			<div class="item">
				<span class="content">s222</span>
			</div>
			<div class="item">
				<span class="content">s333</span>
			</div>
			<div class="item">
				<span class="content">s444</span>
			</div>
		</div>
	</body>
</html>
